package com.rsy.crm.workbench.service;

import com.rsy.crm.vo.PageVo;
import com.rsy.crm.workbench.domain.Activity;
import com.rsy.crm.workbench.domain.ActivityRemark;

import java.util.List;
import java.util.Map;

/**
 * 市场业务层
 */
public interface ActivityService {
    //添加
    boolean save(Activity a);

    PageVo<Activity> pageList(Map<String, Object> map);

    boolean deleteAct(String[] ids);

    Map<String, Object> getUserListAndActivity(String id);
    //更新
    boolean update(Activity a);

    Activity detail(String id);

    List<ActivityRemark> getRemarkListByAid(String id);

    boolean deleteRemark(String id);

    boolean updateRemark(ActivityRemark ar);

    boolean saveRemark(ActivityRemark ar);

    List<Activity> getActivityListByClueId(String clueId);

    List<Activity> getActivityListByNameAndNotByClueId(Map<String, String> map);

    List<Activity> getActivityListByName(String aname);
}
